﻿using CloudMusic.ViewModel;
using System;
using System.Drawing;
using System.Windows;
using System.Windows.Controls;

namespace CloudMusic.View
{
    /// <summary>
    /// PageSingerInfo.xaml 的交互逻辑
    /// </summary>
    public partial class PageSingerInfo : Page
    {
        public PageSingerInfo(PageSingerInfoViewModel psivm)
        {
            InitializeComponent();
            this.DataContext = psivm;
        }

        private void albumImg_MouseLeftButtonDown(object sender, System.Windows.Input.MouseButtonEventArgs e)
        {
            Grid gd = sender as Grid;
            MessageBox.Show(gd.Tag.ToString());
        }

        private void albumName_MouseLeftButtonDown(object sender, System.Windows.Input.MouseButtonEventArgs e)
        {
            TextBlock tb = sender as TextBlock;
            MessageBox.Show(tb.Tag.ToString());
        }
    }
}
